package com;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author Stone
 * @date 2020/6/16 19:01
 */
// 开启Feign客户端
@EnableFeignClients
@ComponentScan("com.demo")
@SpringBootApplication
public class FeignConsumerMainType {

    public static void main(String[] args) {
        SpringApplication.run(FeignConsumerMainType.class, args);
    }
}
